//
//  Define.h
//  BabyBedtimeStory
//
//  Created by qianfeng on 15-6-21.
//  Copyright (c) 2015年 张鹏毅. All rights reserved.
//

#ifndef BabyBedtimeStory_Define_h
#define BabyBedtimeStory_Define_h

extern NSString * const kFavorite ;
extern NSString * const kDownloads;
extern NSString * const kBrowses ;

#import <AVFoundation/AVFoundation.h>

static AVPlayer *player = nil;
static AVAudioPlayer *localPlayer;

#define kFabcdefg @"fabcdefg"
#define kFabcdefge @"fabcdefge"

#define kHome @"http://api.duotin.com/danxinben/homepage?device_key=860671021195943&platform=android&title=baobaoshuiqiangushi&source=danxinben&device_token=&user_key=&package=com.duotin.baobaoshuiqiangushi&channel=duotin&version=1.0.0"

#define kSecond @"http://api.duotin.com/danxinben/discover?device_key=860671021195943&platform=android&source=danxinben&device_token=&user_key=&package=com.duotin.baobaoshuiqiangushi&type=baobaoshuiqiangushi&channel=duotin&version=1.0.0"

#define kUrl @"http://api.duotin.com/album?album_id=%@&page_size=100&device_key=860671021195943&platform=android&source=danxinben&page=1&device_token=&user_key=&sort_type=0&package=com.duotin.baobaoshuiqiangushi&channel=duotin&version=1.0.0"

#define playUrl @"http://api.duotin.com/content?device_key=860671021195943&platform=android&content_id=%@&source=danxinben&device_token=&user_key=&package=com.duotin.baobaoshuiqiangushi&channel=duotin&version=1.0.0"

//首页 http://api.duotin.com/danxinben/homepage?device_key=860671021195943&platform=android&title=baobaoshuiqiangushi&source=danxinben&device_token=&user_key=&package=com.duotin.baobaoshuiqiangushi&channel=duotin&version=1.0.0

//第二页 http://api.duotin.com/danxinben/discover?device_key=860671021195943&platform=android&source=danxinben&device_token=&user_key=&package=com.duotin.baobaoshuiqiangushi&type=baobaoshuiqiangushi&channel=duotin&version=1.0.0

//详情 http://api.duotin.com/album?album_id=82102&page_size=100&device_key=860671021195943&platform=android&source=danxinben&page=1&device_token=&user_key=&sort_type=0&package=com.duotin.baobaoshuiqiangushi&channel=duotin&version=1.0.0

//节目播放 http://api.duotin.com/content?device_key=860671021195943&platform=android&content_id=716323&source=danxinben&device_token=&user_key=&package=com.duotin.baobaoshuiqiangushi&channel=duotin&version=1.0.0

#endif
